home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
AIncludes
/
ConnectionTools.a
< prev
next >
Wrap
Text File
|
1996-05-01
|
3KB
|
110 lines
;
; File: ConnectionTools.a
;
; Contains: Communications Toolbox Connection Tools Interfaces.
;
; Version: Technology: System 7.5
; Release: Universal Interfaces 3.0d3 on Copland DR1
;
; Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
;
; Bugs?: If you find a problem with this file, send the file and version
; information (from above) and the problem description to:
;
; Internet: apple.bugs@applelink.apple.com
; AppleLink: APPLE.BUGS
;
;
IF &TYPE('__CONNECTIONTOOLS__') = 'UNDEFINED' THEN
__CONNECTIONTOOLS__ SET 1
IF &TYPE('__WINDOWS__') = 'UNDEFINED' THEN
include 'Windows.a'
ENDIF
IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
include 'Dialogs.a'
ENDIF
IF &TYPE('__CONNECTIONS__') = 'UNDEFINED' THEN
include 'Connections.a'
ENDIF
IF FOR_SYSTEM7_ONLY THEN
; messages for DefProc
cmInitMsg EQU 0
cmDisposeMsg EQU 1
cmSuspendMsg EQU 2
cmResumeMsg EQU 3
cmMenuMsg EQU 4
cmEventMsg EQU 5
cmActivateMsg EQU 6
cmDeactivateMsg EQU 7
cmIdleMsg EQU 50
cmResetMsg EQU 51
cmAbortMsg EQU 52
cmReadMsg EQU 100
cmWriteMsg EQU 101
cmStatusMsg EQU 102
cmListenMsg EQU 103
cmAcceptMsg EQU 104
cmCloseMsg EQU 105
cmOpenMsg EQU 106
cmBreakMsg EQU 107
cmIOKillMsg EQU 108
cmEnvironsMsg EQU 109 ; new connection tool messages for ctb 1.1
cmNewIOPBMsg EQU 110
cmDisposeIOPBMsg EQU 111
cmGetErrorStringMsg EQU 112
cmPBReadMsg EQU 113
cmPBWriteMsg EQU 114
cmPBIOKillMsg EQU 115 ; messages for validate DefProc
cmValidateMsg EQU 0
cmDefaultMsg EQU 1 ; messages for Setup DefProc
cmSpreflightMsg EQU 0
cmSsetupMsg EQU 1
cmSitemMsg EQU 2
cmSfilterMsg EQU 3
cmScleanupMsg EQU 4 ; messages for scripting defProc
cmMgetMsg EQU 0
cmMsetMsg EQU 1 ; messages for localization defProc
cmL2English EQU 0
cmL2Intl EQU 1
; private data constants
cdefType EQU 'cdef' ; main connection definition procedure
cvalType EQU 'cval' ; validation definition procedure
csetType EQU 'cset' ; connection setup definition procedure
clocType EQU 'cloc' ; connection configuration localization defProc
cscrType EQU 'cscr' ; connection scripting defProc interfaces
cbndType EQU 'cbnd' ; bundle type for connection
cverType EQU 'vers'
CMDataBuffer RECORD 0
thePtr ds.l 1 ; offset: $0 (0)
count ds.l 1 ; offset: $4 (4)
channel ds.w 1 ; offset: $8 (8)
flags ds.w 1 ; offset: $A (10)
sizeof EQU * ; size: $C (12)
ENDR
; typedef struct CMDataBuffer * CMDataBufferPtr
CMCompletorRecord RECORD 0
async ds.b 1 ; offset: $0 (0)
filler ds.b 1 ; offset: $1 (1)
completionRoutine ds.l 1 ; offset: $2 (2)
sizeof EQU * ; size: $6 (6)
ENDR
; typedef struct CMCompletorRecord * CMCompletorPtr
; Private Data Structure
CMSetupStruct RECORD 0
theDialog ds.l 1 ; offset: $0 (0)
count ds.w 1 ; offset: $4 (4)
theConfig ds.l 1 ; offset: $6 (6)
procID ds.w 1 ; offset: $A (10) ; procID of the tool
sizeof EQU * ; size: $C (12)
ENDR
; typedef struct CMSetupStruct * CMSetupPtr
ENDIF
ENDIF ; __CONNECTIONTOOLS__